import * as _0 from "./game/base/BaseComp"
import * as _1 from "./game/base/BaseMod"
import * as _2 from "./game/base/BaseTimer"
import * as _3 from "./game/base/BaseView"
import * as _4 from "./game/cfg/Msg"
import * as _5 from "./game/cfg/MsgStruct"
import * as _6 from "./game/cfg/Xlsx"
import * as _7 from "./game/cfg/XlsxDef"
import * as _8 from "./game/cfg/XlsxDefPrev"
import * as _9 from "./game/com/ConnMgr"
import * as _10 from "./game/com/DebugMgr"
import * as _11 from "./game/com/ErrorMgr"
import * as _12 from "./game/com/EventMgr"
import * as _13 from "./game/com/KeyMgr"
import * as _14 from "./game/com/LayerMgr"
import * as _15 from "./game/com/LoadMgr"
import * as _16 from "./game/com/ModMgr"
import * as _17 from "./game/com/PopupMgr"
import * as _18 from "./game/com/TimerMgr"
import * as _19 from "./game/com/util/ColorUtil"
import * as _20 from "./game/com/util/ComUtil"
import * as _21 from "./game/com/util/StrUtil"
import * as _22 from "./game/com/util/Vec2Util"
import * as _23 from "./game/com/view/LoadingView"
import * as _24 from "./game/com/view/MainView"
import * as _25 from "./game/com/view/TipView"
import * as _26 from "./game/comp/Rocker"
import * as _27 from "./game/comp/ScrollList"
import * as _28 from "./game/comp/ScrollListCell"
import * as _29 from "./game/mod/createRole/CreateRoleCareerCell"
import * as _30 from "./game/mod/createRole/CreateRoleMod"
import * as _31 from "./game/mod/createRole/CreateRoleView"
import * as _32 from "./game/mod/item/ItemListView"
import * as _33 from "./game/mod/item/ItemRender"
import * as _34 from "./game/mod/login/LoginMod"
import * as _35 from "./game/mod/login/LoginSvrCell"
import * as _36 from "./game/mod/login/LoginView"
import * as _37 from "./game/mod/map/MapMod"
import * as _38 from "./game/mod/player/Player"
import * as _39 from "./game/mod/player/PlayerMod"
import * as _40 from "./GameMain"

export default function () {
    let mods = { ..._40, };
    for (let key in mods) {
        globalThis[key] = mods[key];
    }
    globalThis["game"] = {
        base: {
            ..._0,
            ..._1,
            ..._2,
            ..._3,
        },
        cfg: {
            ..._4,
            ..._5,
            ..._6,
            ..._7,
            ..._8,
        },
        com: {
            ..._9,
            ..._10,
            ..._11,
            ..._12,
            ..._13,
            ..._14,
            ..._15,
            ..._16,
            ..._17,
            ..._18,
            util: {
                ..._19,
                ..._20,
                ..._21,
                ..._22,
            },
            view: {
                ..._23,
                ..._24,
                ..._25,
            },
        },
        comp: {
            ..._26,
            ..._27,
            ..._28,
        },
        mod: {
            createRole: {
                ..._29,
                ..._30,
                ..._31,
            },
            item: {
                ..._32,
                ..._33,
            },
            login: {
                ..._34,
                ..._35,
                ..._36,
            },
            map: {
                ..._37,
            },
            player: {
                ..._38,
                ..._39,
            },
        },
    }
};